package fun.zhaoyuanhao.facai;

import fun.zhaoyuanhao.facai.gen.SeedGen;
import fun.zhaoyuanhao.facai.gen.TicketGen;

import java.util.Arrays;
import java.util.List;

/**
 * 体彩
 *
 * @author 赵元昊
 * @date 2021/09/03 17:41
 **/
public class TicaiFacai {
    private static List<Integer> LOTTERY_TICKET_PREFIX_SEED = SeedGen.gen(1, 35);
    private static List<Integer> LOTTERY_TICKET_SUFFIX_SEED = SeedGen.gen(1, 12);

    public static void main(String[] args) {
        List<List<List<Integer>>> tickets = TicketGen.TicketBuilder.builder()
                .size(182034L).add(LOTTERY_TICKET_PREFIX_SEED, 5).add(LOTTERY_TICKET_SUFFIX_SEED, 2).gen();
        TicketGen.sout(tickets);
        TicketGen.soutSum(TicketGen.sum(tickets), Arrays.asList(5, 2));
    }
}
